﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
using MySqlSugar;
using Zhj.Community.Domain.Entitys;
using Zhj.Community.Domain.IRepository;

namespace Zhj.Community.Repository.Test
{
    public class TestStudentFirendRepository: BaseRepository<TestStudentFirend, long>, ITestStudentFirendRepository
    {
        /// <summary>
        /// 测试方法
        /// </summary>
        /// <param name="lmd"></param>
        /// <returns></returns>
        public override List<TestStudentFirend> Get(Expression<Func<TestStudentFirend, bool>> lmd)
        {
            return new List<TestStudentFirend>
            {
                new TestStudentFirend
                {
                    Age = 18,
                    Id = 1,
                    Name = "赵韩佳朋友11"
                },
                new TestStudentFirend
                {
                    Age = 18,
                    Id = 1,
                    Name = "赵韩佳朋友22"
                },
                new TestStudentFirend
                {
                    Age = 18,
                    Id = 1,
                    Name = "赵韩佳朋友33"
                },
            };
        }
    }
}
